package microarray;

import java.util.LinkedList;
import java.util.List;

public class DataSeries {
	private String gds;
	private String platform;
	private List<String> samples;

	public DataSeries(String gds)
	{
		this.gds = gds;
		this.samples = new LinkedList<String>();
	}

	public String getGds() {
		return gds;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getPlatform() {
		return platform;
	}

	public void addSample(String sample) {
		this.samples.add(sample);
	}

	public List<String> getSamples() {
		return samples;
	}
	
	public String toString(){
		String out = "Series: " + gds;
		out+= "\nPlatform: " + platform;
		out+= "\nSamples: ";
		for (String sample : samples){
			out+= sample + " ";
		}
		out+= "\n";
		
		return out;
	}

}
